{% block sw_custom_field_type_base_content %}
{% parent() %}

{% block sw_custom_field_type_date_container %}
<sw-container
    columns="1fr 1fr"
    gap="20px"
>
    {% block sw_custom_field_type_date_container_type %}
    <mt-select
        v-model="currentCustomField.config.dateType"
        :label="$tc('sw-settings-custom-field.customField.detail.labelDateType')"
        :options="types"
    />
    {% endblock %}

    {% block sw_custom_field_type_date_container_time_format %}
    <mt-select
        v-if="['time', 'datetime'].includes(currentCustomField.config.dateType)"
        v-model="currentCustomField.config.config.time_24hr"
        :label="$tc('sw-settings-custom-field.customField.detail.labelTimeForm')"
        :options="timeForms"
    />
    {% endblock %}
</sw-container>
{% endblock %}
{% endblock %}
